
init/main.o：     文件格式 elf32-i386
init/main.o
体系结构：i386， 标志 0x00000011：
HAS_RELOC, HAS_SYMS
起始地址 0x00000000

节：
Idx Name          Size      VMA       LMA       File off  Algn
  0 .group        00000008  00000000  00000000  00000034  2**2
                  CONTENTS, READONLY, GROUP, LINK_ONCE_DISCARD
  1 .group        00000008  00000000  00000000  0000003c  2**2
                  CONTENTS, READONLY, GROUP, LINK_ONCE_DISCARD
  2 .text         000000c9  00000000  00000000  00000044  2**0
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  3 .data         00000000  00000000  00000000  0000010d  2**0
                  CONTENTS, ALLOC, LOAD, DATA
  4 .bss          00000000  00000000  00000000  0000010d  2**0
                  ALLOC
  5 .text.__x86.get_pc_thunk.cx 00000004  00000000  00000000  0000010d  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  6 .text.__x86.get_pc_thunk.bx 00000004  00000000  00000000  00000111  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  7 .comment      00000025  00000000  00000000  00000115  2**0
                  CONTENTS, READONLY
  8 .note.GNU-stack 00000000  00000000  00000000  0000013a  2**0
                  CONTENTS, READONLY
  9 .note.gnu.property 0000001c  00000000  00000000  0000013c  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 10 .eh_frame     00000098  00000000  00000000  00000158  2**2
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
SYMBOL TABLE:
00000000 l    df *ABS*	00000000 main.c
00000000 l    d  .text	00000000 .text
00000000 l    d  .data	00000000 .data
00000000 l    d  .bss	00000000 .bss
00000000 l    d  .text.__x86.get_pc_thunk.cx	00000000 .text.__x86.get_pc_thunk.cx
00000000 l    d  .text.__x86.get_pc_thunk.bx	00000000 .text.__x86.get_pc_thunk.bx
00000000 l    d  .note.GNU-stack	00000000 .note.GNU-stack
00000000 l    d  .note.gnu.property	00000000 .note.gnu.property
00000000 l    d  .eh_frame	00000000 .eh_frame
00000000 l    d  .comment	00000000 .comment
00000000 l    d  .group	00000000 .group
00000000 l    d  .group	00000000 .group
00000000 g     F .text	00000030 fork
00000000 g     F .text.__x86.get_pc_thunk.cx	00000000 .hidden __x86.get_pc_thunk.cx
00000000         *UND*	00000000 _GLOBAL_OFFSET_TABLE_
00000000         *UND*	00000000 errno
00000030 g     F .text	00000030 pause
00000060 g     F .text	00000063 main
00000000 g     F .text.__x86.get_pc_thunk.bx	00000000 .hidden __x86.get_pc_thunk.bx
00000000         *UND*	00000000 tty_init
00000000         *UND*	00000000 trap_init
00000000         *UND*	00000000 sched_init
00000000         *UND*	00000000 buffer_init
00000000         *UND*	00000000 hd_init
000000c3 g     F .text	00000006 init


Contents of section .group:
 0000 01000000 07000000                    ........        
Contents of section .group:
 0000 01000000 08000000                    ........        
Contents of section .text:
 0000 f30f1efb e8fcffff ff81c102 000000b8  ................
 0010 02000000 cd8089c2 85c07803 89d0c3f7  ..........x.....
 0020 d88b9100 00000089 02baffff ffffebec  ................
 0030 f30f1efb e8fcffff ff81c102 000000b8  ................
 0040 1d000000 cd8089c2 85c07803 89d0c3f7  ..........x.....
 0050 d88b9100 00000089 02baffff ffffebec  ................
 0060 f30f1efb 5589e553 83e4f0e8 fcffffff  ....U..S........
 0070 81c30200 0000e8fc ffffffe8 fcffffff  ................
 0080 e8fcffff ffe8fcff ffffe8fc fffffffb  ................
 0090 89e06a17 509c6a0f 689e0000 00cfb817  ..j.P.j.h.......
 00a0 0000008e d88ec08e e08ee8b8 02000000  ................
 00b0 cd80ba1d 00000085 c0740689 d0cd80eb  .........t......
 00c0 faebfef3 0f1efbeb fe                 .........       
Contents of section .text.__x86.get_pc_thunk.cx:
 0000 8b0c24c3                             ..$.            
Contents of section .text.__x86.get_pc_thunk.bx:
 0000 8b1c24c3                             ..$.            
Contents of section .comment:
 0000 00474343 3a202855 62756e74 7520392e  .GCC: (Ubuntu 9.
 0010 332e302d 31307562 756e7475 32292039  3.0-10ubuntu2) 9
 0020 2e332e30 00                          .3.0.           
Contents of section .note.gnu.property:
 0000 04000000 0c000000 05000000 474e5500  ............GNU.
 0010 020000c0 04000000 03000000           ............    
Contents of section .eh_frame:
 0000 14000000 00000000 017a5200 017c0801  .........zR..|..
 0010 1b0c0404 88010000 10000000 1c000000  ................
 0020 00000000 30000000 00000000 10000000  ....0...........
 0030 30000000 30000000 30000000 00000000  0...0...0.......
 0040 18000000 44000000 60000000 63000000  ....D...`...c...
 0050 00450e08 8502420d 05448303 10000000  .E....B..D......
 0060 60000000 c3000000 06000000 00000000  `...............
 0070 10000000 74000000 00000000 04000000  ....t...........
 0080 00000000 10000000 88000000 00000000  ................
 0090 04000000 00000000                    ........        

Disassembly of section .text:

00000000 <fork>:
   0:	f3 0f 1e fb          	endbr32 
   4:	e8 fc ff ff ff       	call   5 <fork+0x5>
			5: R_386_PC32	__x86.get_pc_thunk.cx
   9:	81 c1 02 00 00 00    	add    $0x2,%ecx
			b: R_386_GOTPC	_GLOBAL_OFFSET_TABLE_
   f:	b8 02 00 00 00       	mov    $0x2,%eax
  14:	cd 80                	int    $0x80
  16:	89 c2                	mov    %eax,%edx
  18:	85 c0                	test   %eax,%eax
  1a:	78 03                	js     1f <fork+0x1f>
  1c:	89 d0                	mov    %edx,%eax
  1e:	c3                   	ret    
  1f:	f7 d8                	neg    %eax
  21:	8b 91 00 00 00 00    	mov    0x0(%ecx),%edx
			23: R_386_GOT32X	errno
  27:	89 02                	mov    %eax,(%edx)
  29:	ba ff ff ff ff       	mov    $0xffffffff,%edx
  2e:	eb ec                	jmp    1c <fork+0x1c>

00000030 <pause>:
  30:	f3 0f 1e fb          	endbr32 
  34:	e8 fc ff ff ff       	call   35 <pause+0x5>
			35: R_386_PC32	__x86.get_pc_thunk.cx
  39:	81 c1 02 00 00 00    	add    $0x2,%ecx
			3b: R_386_GOTPC	_GLOBAL_OFFSET_TABLE_
  3f:	b8 1d 00 00 00       	mov    $0x1d,%eax
  44:	cd 80                	int    $0x80
  46:	89 c2                	mov    %eax,%edx
  48:	85 c0                	test   %eax,%eax
  4a:	78 03                	js     4f <pause+0x1f>
  4c:	89 d0                	mov    %edx,%eax
  4e:	c3                   	ret    
  4f:	f7 d8                	neg    %eax
  51:	8b 91 00 00 00 00    	mov    0x0(%ecx),%edx
			53: R_386_GOT32X	errno
  57:	89 02                	mov    %eax,(%edx)
  59:	ba ff ff ff ff       	mov    $0xffffffff,%edx
  5e:	eb ec                	jmp    4c <pause+0x1c>

00000060 <main>:
  60:	f3 0f 1e fb          	endbr32 
  64:	55                   	push   %ebp
  65:	89 e5                	mov    %esp,%ebp
  67:	53                   	push   %ebx
  68:	83 e4 f0             	and    $0xfffffff0,%esp
  6b:	e8 fc ff ff ff       	call   6c <main+0xc>
			6c: R_386_PC32	__x86.get_pc_thunk.bx
  70:	81 c3 02 00 00 00    	add    $0x2,%ebx
			72: R_386_GOTPC	_GLOBAL_OFFSET_TABLE_
  76:	e8 fc ff ff ff       	call   77 <main+0x17>
			77: R_386_PLT32	tty_init
  7b:	e8 fc ff ff ff       	call   7c <main+0x1c>
			7c: R_386_PLT32	trap_init
  80:	e8 fc ff ff ff       	call   81 <main+0x21>
			81: R_386_PLT32	sched_init
  85:	e8 fc ff ff ff       	call   86 <main+0x26>
			86: R_386_PLT32	buffer_init
  8a:	e8 fc ff ff ff       	call   8b <main+0x2b>
			8b: R_386_PLT32	hd_init
  8f:	fb                   	sti    
  90:	89 e0                	mov    %esp,%eax
  92:	6a 17                	push   $0x17
  94:	50                   	push   %eax
  95:	9c                   	pushf  
  96:	6a 0f                	push   $0xf
  98:	68 9e 00 00 00       	push   $0x9e
			99: R_386_32	.text
  9d:	cf                   	iret   
  9e:	b8 17 00 00 00       	mov    $0x17,%eax
  a3:	8e d8                	mov    %eax,%ds
  a5:	8e c0                	mov    %eax,%es
  a7:	8e e0                	mov    %eax,%fs
  a9:	8e e8                	mov    %eax,%gs
  ab:	b8 02 00 00 00       	mov    $0x2,%eax
  b0:	cd 80                	int    $0x80
  b2:	ba 1d 00 00 00       	mov    $0x1d,%edx
  b7:	85 c0                	test   %eax,%eax
  b9:	74 06                	je     c1 <main+0x61>
  bb:	89 d0                	mov    %edx,%eax
  bd:	cd 80                	int    $0x80
  bf:	eb fa                	jmp    bb <main+0x5b>
  c1:	eb fe                	jmp    c1 <main+0x61>

000000c3 <init>:
  c3:	f3 0f 1e fb          	endbr32 
  c7:	eb fe                	jmp    c7 <init+0x4>

Disassembly of section .text.__x86.get_pc_thunk.cx:

00000000 <__x86.get_pc_thunk.cx>:
   0:	8b 0c 24             	mov    (%esp),%ecx
   3:	c3                   	ret    

Disassembly of section .text.__x86.get_pc_thunk.bx:

00000000 <__x86.get_pc_thunk.bx>:
   0:	8b 1c 24             	mov    (%esp),%ebx
   3:	c3                   	ret    
